//
//  ZODOnlineDocConfiguration.m
//  ZTEOnlineDoc
//
//  Created by 万伟琦 on 2018/9/17.
//  Copyright © 2018年 ZTE. All rights reserved.
//

#import "ZODOnlineDocConfiguration.h"

@implementation ZODOnlineDocConfiguration


+ (instancetype)configureWithUserBaseURL:(NSString *)userBaseUrl
                         userBaseIntraIP:(NSString *)intraIP
                                 sysCode:(NSString *)sysCode
                                  userNo:(NSString *)uno
                               userToken:(NSString *)uToken
                               waterText:(NSString *)waterText
                                language:(ZODLanguage)lang
                           operatingMode:(ZODOperatingMode)opMode {
    
    ZODOnlineDocConfiguration *cfg = [[ZODOnlineDocConfiguration alloc] init];
    cfg.userBaseUrl = userBaseUrl;
    cfg.userBaseIntraIP = intraIP;
    cfg.sysCode = sysCode;
    cfg.userNo = uno;
    cfg.userToken = uToken;
    cfg.waterText = waterText;
    cfg.lang = lang;
    cfg.opMode = opMode;
    
    return cfg;
}

@end
